package com.black.platform.role.service.bz.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.black.platform.permission.po.Permission;
import com.black.platform.role.mapper.RolePermissionMapper;
import com.black.platform.role.po.RolePermission;
import com.black.platform.role.service.bz.RolePermissionService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class RolePermissionServiceImpl extends ServiceImpl<RolePermissionMapper, RolePermission> implements RolePermissionService {

    @Override
    public List<Permission> getPermissionByRoleId(Long roleId) {
        return this.baseMapper.getPermissionByRoleId(roleId);
    }
}
